package com.yh.rbac.service;

import java.util.List;

import com.yh.rbac.entity.RolePermission;

public interface RolePermissionService {
	   int insert(RolePermission record);

	    List<RolePermission> selectAll();
	    
	    List<RolePermission> selectByRid(Long rid) ;
	    
	    int deleteByRidOrPid(Long rid, Long pid) ;
	    int deleteByRid(Long rid) ;
}
